package com.ruoyi.paper.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * paper对象 qt_paper
 * 
 * @author zqq
 * @date 2021-11-18
 */
public class QtPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id  */
    private String paperId;

    /** 试卷名称 */
    @Excel(name = "试卷名称")
    private String paperName;

    /** 课程id */
    @Excel(name = "课程id")
    private String courseId;

    /** 章节id */
    @Excel(name = "章节id")
    private String chapterId;

    /** 试卷状态 */
    @Excel(name = "试卷状态")
    private Integer paperState;

    /** 试卷类型 */
    @Excel(name = "试卷类型")
    private String paperType;

    /** 创建人id */
    @Excel(name = "创建人id")
    private String userId;

    /** 备用字符串 */
    private String paperStr;
    private String maxTime;
    private String minTime;

    public String getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(String maxTime) {
        this.maxTime = maxTime;
    }

    public String getMinTime() {
        return minTime;
    }

    public void setMinTime(String minTime) {
        this.minTime = minTime;
    }
    /** 备用整数 */
    private int paperInt;

    private String userName;
    private String chapterName;
    private String courseName;
    private List<QtPaperTkNums> tkNumsList;

    public List<QtPaperTkNums> getTkNumsList() {
        return tkNumsList;
    }

    public void setTkNumsList(List<QtPaperTkNums> tkNumsList) {
        this.tkNumsList = tkNumsList;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public void setPaperId(String paperId)
    {
        this.paperId = paperId;
    }

    public String getPaperId() 
    {
        return paperId;
    }
    public void setPaperName(String paperName) 
    {
        this.paperName = paperName;
    }

    public String getPaperName() 
    {
        return paperName;
    }
    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }
    public void setChapterId(String chapterId) 
    {
        this.chapterId = chapterId;
    }

    public String getChapterId() 
    {
        return chapterId;
    }
    public void setPaperState(Integer paperState) 
    {
        this.paperState = paperState;
    }

    public Integer getPaperState() 
    {
        return paperState;
    }
    public void setPaperType(String paperType) 
    {
        this.paperType = paperType;
    }

    public String getPaperType() 
    {
        return paperType;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setPaperStr(String paperStr) 
    {
        this.paperStr = paperStr;
    }

    public String getPaperStr() 
    {
        return paperStr;
    }
    public void setPaperInt(int paperInt)
    {
        this.paperInt = paperInt;
    }

    public int getPaperInt()
    {
        return paperInt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paperId", getPaperId())
            .append("paperName", getPaperName())
            .append("courseId", getCourseId())
            .append("chapterId", getChapterId())
            .append("paperState", getPaperState())
            .append("paperType", getPaperType())
            .append("userId", getUserId())
            .append("paperStr", getPaperStr())
            .append("paperInt", getPaperInt())
            .toString();
    }
}
